Java code Develop a system that keeps track of preschool students. There are four types of preschoolers: Guppies, who are two; Puppies,...
Java code
Develop a system that keeps track of preschool students. There are four types
of preschoolers: Guppies, who are two; Puppies, who are three; Tigers, who are
four; and Lions, who are five.
Each group needs a special list of school materials. Guppies need paste and
colored paper. Puppies need paste, colored paper, and rulers. Tigers need
the supplies of the younger students plus a notebook and pencil. Lions need
all of this and scissors.
Ms. Smith teaches the Guppies and Puppies. Ms. Jones teaches the Tigers. Ms.
Anderson teaches the Lions.
Your system should capture the name, age, and school group (which is determined by
age) of "n" number of preschoolers. Note that if the user does not enter a school group,
the group appropriate for that age should be added for the student.
Each type of student (Guppies, Puppies, etc.) should be separate
classes that all inherit from a common parent, "preschoolStudent". The parent
class should have defaults for each of the data variables and methods needed.
Your application should store the individual objects in an ArrayList, and should
allow the inputing of "n" number of records. The only attributes that the user
must input are the name and age of each entered student (be sure to handle
the entry of different data types with a try catch block). Group is optional, with the
system ascertaining the appropriate preschool class for each one.
Your application should also print out a report that groups each class, with the
teacher and students, along with the supply list.
Example (Data entry):
Name: Timmy Jones
Age: 4
Name: Suzy Smith
Age: 5
Name: Mikey Nesmith
Age: 2
Name: Pablo Garcia
Age: 4
Group: Tiger
(Print out):
Guppies Ms. Smith
Mikey Nesmith
Supplies needed: ...
Puppies Ms. Smith
Supplies needed: ...
Tigers Ms. Jones
Timmy Jones
Supplies needed: ...
Lions Ms. Anderson
Suzy Smith
Pablo Garcia
Supplies needed: ...
13 years ago
999999.99
Purchase the answer to view it

- program.rtf
- Econ Help!
- Survey Question
- BioMathChem
- Hewlett Packard's Annual Report for 2008-2009 Analysis
- Visit HUD website at hud.gov and locate article document or other material and discuss home purchase or community property in...
- A new project will generate sales of $74 million, costs of $42 million, and depreciation expense of $10 million in the coming year. The firm%u2019s tax rate is 35%. Calculate cash flow for the year by using all three methods: (a) direct method (dollar in
- For foel
- Multiple choice.
- Develop a budget plan (Starbucks)
- CJA 454 Week 4 Case Study Out-of-Town Brown and the Besieged Probation Supervisor